//
//  TestAddressBook.h
//  PrivateCloud
//
//  Created by mars on 13-10-27.
//  Copyright (c) 2013年 sarah doo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
#import "DDContactInfo.h"
@interface TestAddressBook : NSConditionLock


-(void)testRun;
-(NSMutableArray*)loadVCF:(NSString*)filePath;
-(NSMutableArray*)paintInfo:(CFArrayRef)contacts;
-(int)getRemoteContactCount;
-(BOOL)isContactInfoExist:(DDContactInfo*) contactInfo;
-(void)createVcfWithContactInfos:(NSArray*)infos atPath:(NSString*)path;
-(NSString*)saveVCFWithPath:(NSString*)path;
-(NSMutableArray*)getAllContactInfo;
@end
